<style>
    /* display: inline-block; */
    /*html{-webkit-filter: grayscale(100%);
        -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
        -o-filter: grayscale(100%);
        filter: grayscale(100%);
        filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);}*/
    .commTop {
        width: 100%;
        min-width: 1400px;
        background-color:#f7f7f7;
    }

    .box {
        width: 1400px;
        margin: 0px auto;
        clear: both;
        overflow: hidden;
        background: url('{DT_PATH}file/static/pc/common/commonTop_logo.gif') no-repeat 0px center;
        height: 120px;
        position: relative;
    }

    #search {
        width: 518px;
        height: 38px;
        z-index: 55;
        position: absolute;
        right: 0px;
        top: 40px;
        background-color: #ffffff;
        margin: 0;
        border-radius: 6px;
        border: 1px solid #0076f6;
    }

    #sear_btn {
        width: 100px;
        height: 40px;
        background: #0076f6 url({DT_PATH}file/static/pc/common/common_search.gif) no-repeat center;
        position: absolute;
        border: none;
        right: -1px;
        top: -1px;
        outline: none;
        z-index: 555;
        cursor: pointer;
        outline: none;
        border-radius: 0px 6px 6px 0px
    }

    .inp-txt {
        width: 254px;
        height: 38px;
        line-height: 38px;
        border: 0px;
        padding: 0px 10px 0px 10px;
        display: block;
        color: #999;
        outline: none;
        border-radius: 0px;
        background: none;
        z-index: 550;
        float: left;
        margin-left:5px;
    }

    .inp_txt_b {
        border-color: #444;
    }

    #xsearchlink {
        width:140px;
        height:27px;
        color: #666;
        border: none;
        border-right: 1px solid #ededed;
        outline: none;
        float: left;
        margin-top: 6px;
    }
    #xsearchlink option{text-align: center; width: 100%;}
    #nav{background-color: #0076f6;height:60px; font: 18px/35px "yahei"; text-align: center;}
    #nav .hd{width: 1400px;margin: 0px auto; text-align: center;}
    #nav .hd ul li{padding: 0px 20px; display: inline-block;margin-top: 11px;}
    #nav .hd ul li a:link,#nav .hd ul li a:visited{color:#ffffff; text-align: center;}
    #nav .hd ul li a:hover,#nav .hd ul li a.on{border-bottom:3px solid #fff;}
</style>

<script type="text/javascript">
    {if $head_mobile && $EXT[mobile_goto]}
    var UA = navigator.userAgent.toLowerCase();
    var CKPrex="";
    function Go(u) {window.location = u;}
    function get_cookie(n) {
        var v = ''; var s = CKPrex + n + "=";
        if(document.cookie.length > 0) {
            o = document.cookie.indexOf(s);
            if(o != -1) {
                o += s.length;
                end = document.cookie.indexOf(";", o);
                if(end == -1) end = document.cookie.length;
                v = unescape(document.cookie.substring(o, end));
            }
        }
        return v;
    }
    function GoMobile(url) {
        if((UA.indexOf('phone') != -1 || UA.indexOf('mobile') != -1 || UA.indexOf('android') != -1 || UA.indexOf('ipod') != -1) && get_cookie('mobile') != 'pc' && UA.indexOf('ipad') == -1) {
            Go(url);
        }
    }
    GoMobile('{$head_mobile}');
    {/if}
</script>

<div class="commTop">
    <div class="box">
        <a href="#" target="_self" class="logo"></a>
        <!-- 搜索 -->
        <div id="search">
            <form id="searchform">
                <select id="xsearchlink">
                    {loop $MODULE $m}
                        {if $m[moduleid] > 4 && $m[moduleid] < 32}
                        <option value="{$m[linkurl]}search.php">{$m[name]}</option>
                        {/if}
                    {/loop}
                </select>
                <input type="text" class="inp-txt" placeholder="请输入关键字" maxlength="40" autocomplete="off"
                       name="searchword" id="searchword">
                <input type="submit" id="sear_btn" value="&nbsp;">
            </form>
        </div>
    </div>
</div>
<div id="nav">
    <div class="hd">
        <ul>
            <li class="on"><a href="/" target="_blank">首页</a></li>
            {loop $MODULE $m}
                {if $m[moduleid] > 4 && $m[moduleid] < 32}
                    <li>
                        {if $moduleid==$m[moduleid]}
				{if 31 == $m[moduleid]}
                            <a href="http://zhzk666.com/kspx/24-c24-1.html" class="on" target="_blank">{$m[name]}</a>
				{else}
                            <a href="{$m[linkurl]}" class="on" target="_blank">{$m[name]}</a>
				{/if}
                        {else}
				{if 31 == $m[moduleid]}
                            <a href="http://zhzk666.com/kspx/24-c24-1.html" target="_blank">{$m[name]}</a>
				{else}
                            <a href="{$m[linkurl]}" target="_blank">{$m[name]}</a>
				{/if}
                        {/if}
                    </li>
                {/if}
            {/loop}
        </ul>
    </div>
</div>